import Vue from 'vue'
import * as filter from './filter'

// 取出key
Object.keys(filter).forEach(k => Vue.filter(k, filter[k]))


// 挂载在vue上
Vue.prototype.$needDateFormat = Vue.filter('needDateFormat')
Vue.prototype.$hidePhone = Vue.filter('hidePhone')
